package top.tagao.yygh.order.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author fu-xiao-liu
 * @Date 2022/3/15 11:41
 */
@Component
public class MyBatisPlus {
    /**
     * @date  分页插件
     * @return com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor
     */
    @Bean public PaginationInterceptor paginationInterceptor() { return new PaginationInterceptor(); }
}
